package com.ruoyi.od.mapper;

import java.util.List;
import com.ruoyi.od.domain.StockAlertSetting;

/**
 * 库存预警设置Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public interface StockAlertSettingMapper 
{
    /**
     * 查询库存预警设置
     * 
     * @param settingId 库存预警设置主键
     * @return 库存预警设置
     */
    public StockAlertSetting selectStockAlertSettingBySettingId(String settingId);

    /**
     * 查询库存预警设置列表
     * 
     * @param stockAlertSetting 库存预警设置
     * @return 库存预警设置集合
     */
    public List<StockAlertSetting> selectStockAlertSettingList(StockAlertSetting stockAlertSetting);

    /**
     * 新增库存预警设置
     * 
     * @param stockAlertSetting 库存预警设置
     * @return 结果
     */
    public int insertStockAlertSetting(StockAlertSetting stockAlertSetting);

    /**
     * 修改库存预警设置
     * 
     * @param stockAlertSetting 库存预警设置
     * @return 结果
     */
    public int updateStockAlertSetting(StockAlertSetting stockAlertSetting);

    /**
     * 删除库存预警设置
     * 
     * @param settingId 库存预警设置主键
     * @return 结果
     */
    public int deleteStockAlertSettingBySettingId(String settingId);

    /**
     * 批量删除库存预警设置
     * 
     * @param settingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStockAlertSettingBySettingIds(String[] settingIds);
}
